x86: Emulate accesses to PCI window registers cf8/cfc to synchronise
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Apr 2008 12:19:55 +0000 (13:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Apr 2008 12:19:55 +0000 (13:19 +0100)
commit812471f0d1fb3b455297c3f8130e291eade85abf
tree5731cd269cd67913619bc741953b54429a461788
parentaa3ca83fdad5dca6e898a116cb9b585ed4dd4e09
x86: Emulate accesses to PCI window registers cf8/cfc to synchronise
with accesses by teh hypervisor itself. All users of cf8/cfc go
through new access functions which take the appropriate spinlock.

Based on a patch by Haitao Shan <haitao.shan@intel.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
16 files changed:
xen/arch/x86/Makefile
xen/arch/x86/cpu/amd.c
xen/arch/x86/domain_build.c
xen/arch/x86/pci.c [new file with mode: 0644]
xen/arch/x86/traps.c
xen/drivers/passthrough/amd/iommu_detect.c
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/pci-direct.h [deleted file]
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/qinval.c
xen/drivers/passthrough/vtd/utils.c
xen/include/asm-x86/domain.h
xen/include/xen/pci.h [new file with mode: 0644]